package com.example.labSystem.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 考勤记录表
 * </p>
 *
 * @author 10
 * @since 2024-12-12
 */
@Getter
@Setter
@TableName("attendance")
public class Attendance implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 考勤记录ID
     */
    @TableId("attendanceID")
    private String attendanceID;

    /**
     * 用户ID
     */
    @TableField("userID")
    private String userID;

    /**
     * 用户名
     */
    @TableField("username")
    private String username;

    /**
     * 签到时间
     */
    @TableField("checkInTime")
    private LocalDateTime checkInTime;

    /**
     * 签退时间
     */
    @TableField("checkOutTime")
    private LocalDateTime checkOutTime;

    /**
     * 考勤状态
     */
    @TableField("status")
    private String status;

    /**
     * 备注
     */
    @TableField("remarks")
    private String remarks;
}
